home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / networking / 3243 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: walrus.megabaud.fi!not-for-mail
  2. From: petrin@walrus.megabaud.fi (Petri Nordlund)
  3. Newsgroups: comp.sys.amiga.networking
  4. Subject: Re: Announce: AWeb 1.0 released!
  5. Date: 30 Mar 1996 21:03:08 +0200
  6. Organization: Megabaud Oy,Helsinki,Finland
  7. Message-ID: <4jk0hc$g8q@walrus.megabaud.fi>
  8. NNTP-Posting-Host: walrus.megabaud.fi
  9.  
  10. Michael van Elst (mlelstv@serpens.rhein.de) writes:
  11. >>>>You're right, it was because of Executive. I rebooted without it and
  12. >>>>suddenly it started working the same as IBrowse, even following links
  13. >>>>in part-loaded pages while the .html was still loading just like
  14. >>>>IBrowse does. Unfortunately the whole machine became sluggish while it
  15. >>>>was processing (boy, it's really easy to notice the difference when
  16. >>>>you're not running Executive!).
  17. >
  18. >>>Well, that happens when you have to do calculations.
  19. >
  20. >>If AWeb put the image decoding at a lower priority itself (which is a
  21. >>reasonable thing to do,
  22. >
  23. >That's something that you do not want. You want I/O, decoding and
  24. >rendering done concurrently and this means: at the same priority so
  25. >that they are timesliced.
  26.  
  27.   I don't think that would be a good idea. You don't want image decoding
  28.   to slow down rendering or response to GUI events. The magic word here
  29.   is: threads.
  30.  
  31.   The best way to implement a WWW browser would be to use threads with
  32.   fixed priorities. Five threads would be needed with, for example, these
  33.   priorities:
  34.  
  35.      5 user I/O
  36.      4 transfer
  37.      3 rendering
  38.      2 decoder (small images)
  39.      1 decoder (large images)
  40.  
  41.   You can implement this on Amiga, but it doesn't work with dynamic
  42.   priorities. If we would have threads on Amiga, there would be only
  43.   one task to be scheduled.
  44.  
  45.   And with this arrangement, small images would appear more quickly,
  46.   not held back by one large image that takes ages to decode. The
  47.   two decoder-threads could also have same priority.
  48. -- 
  49.                                       __
  50.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~///~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  51.        Petri Nordlund             __///         petrin@megabaud.fi
  52.  ---------------------------------\XX/----------------------------------
  53.